<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<fieldset>
								<legend>基础信息</legend>
								<div class="form-group">
									<label class="col-sm-2 control-label">标题：</label>
									<div class="col-sm-10">
										<input id="title" name="title" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">顾客：</label>
									<div class="col-sm-4">
										<input id="customer" name="customer" class="form-control" type="text">
									</div>
									<label class="col-sm-2 control-label">手机：</label>
									<div class="col-sm-4">
										<input id="phone" name="phone" class="form-control" type="text">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">备注：</label>
									<div class="col-sm-10">
									<textarea id="remarks" name="remarks" class="form-control"
									></textarea>
									</div>
								</div>
							</fieldset>
							<fieldset>
								<legend>货品信息</legend>
								<div class="form-group">
									<label class="col-sm-2 control-label">货品：</label>
									<div class="col-sm-3">
										<input id="product" name="saleOrderInfoDOS[0].productName" class="form-control" type="text" placeholder="输入货名">
									</div>
									<div class="col-sm-3">
										<input id="norm" name="saleOrderInfoDOS[0].productNorm" class="form-control" type="text" placeholder="输入规格">
									</div>
									<div class="col-sm-3">
										<input id="count" name="saleOrderInfoDOS[0].count" class="form-control" type="text" placeholder="输入数量">
									</div>
									<button type="button" class="col-sm-1 btn  btn-sm" onclick="removeOrderProduct(this)">
										<i class="fa fa-remove"></i>
									</button>
								</div>
								<div class="form-group" >
									<div class="col-sm-1 col-sm-offset-11">
										<button type="button" class="btn  btn-primary" onclick="addOrderProduct(this)">
											添加
										</button>
									</div>
								</div>
							</fieldset>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/jiashan/saleOrder/add.js">
	</script>
</body>
</html>
